package com.sz.web.common.pojo;

public class ReturnPojo {

    /**
     * 请求路由处理成功与否
     */
    private boolean success;
    /**
     * 原因及提示信息
     */
    private String cause;

    /**
     * 数据信息
     */
    private Object datas;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public Object getDatas() {
        return datas;
    }

    public void setDatas(Object datas) {
        this.datas = datas;
    }

    @Override
    public String toString() {
        return "ReturnPojo{" +
                "success=" + success +
                ", cause='" + cause + '\'' +
                ", datas=" + datas +
                '}';
    }
}
